﻿@{
    Layout = null;
    var mainlmglist = ViewBag.mainimglist as List<Models.tbl_main_img>;
    var logo = ViewBag.logo as Models.tbl_main_img;
    var prodimglist = ViewBag.prodimglist as List<Models.tbl_product>;

    var newslist = ViewBag.newslist as List<Models.tbl_news>;
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>浙江速升润滑油有限公司</title>
    <meta name="keywords" content="速升润滑油">
    <meta name="description" content="">
    <link href="~/static/css/layui.css" rel="stylesheet" />
</head>
<body>
    @*<div style="width: 100%;height: 40px;background: #FF6;line-height: 40px;font-size: 12px;color: #000;overflow: hidden;">
            <div style="background:#FF6;width:1000px;margin:0px auto;">
                源码下载地址：  <a href="http://www.yunucms.com/" target="_blank">www.yunucms.com</a>  加QQ群号：577045551 了解最新产品动态
            </div>
        </div>*@
    <div class="layui-container">
        <div class="layui-row">
            <div class="layui-col-md3">
                <img src="@logo.imgurl">
            </div>
            <div class="layui-col-md9">
                <ul class="layui-nav layui-bg-blue" lay-filter="">
                    <li class="layui-nav-item"><a href="/Home/MainIndex">首页</a></li>
                    <li class="layui-nav-item" class="layui-nav-item layui-this" target="_self">
                        <a href="/Home/companyinfoindex">公司介绍</a>
                    </li>
                    <li class="layui-nav-item" target="_self">
                        <a href="/Home/productIndex">公司产品</a>
                    </li>
                    @*<li class="layui-nav-item" target="_self">
                        <a href="/Home/ServiceAdvantageIndex">服务优势</a>
                    </li>*@
                    <li class="layui-nav-item" target="_self">
                        <a href="/Home/NewsIndex">新闻资讯</a>
                    </li>
                    @*<li class="layui-nav-item" target="_self">
                        <a href="/Home/ServiceSupportIndex">服务支持</a>
                    </li>*@
                    <li class="layui-nav-item" target="_self">
                        <a href="/Home/ContactUsIndex">联系我们</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="layui-row banner">
        <div class="layui-carousel" id="test1">
            <div carousel-item="">
                @foreach (var item in mainlmglist)
                {
                    <img src="@item.imgurl" alt="banner2">
                }
            </div>
        </div>
    </div>
    <div class="layui-container ipro">
        <div class="layui-text">
            <h1>公司产品</h1>

        </div>
        <div class="layui-row layui-col-space22">
            @foreach (var item in prodimglist)
            {
                <li class="layui-col-md3">
                    <a href="/Home/ProductDeatil?prod_id=@item.prod_id" class="pro_img" style="width:100%;height:100%">
                        <img src="@item.img_url" alt="@item.prod_name">
                    </a>
                    <a href="/Home/ProductDeatil?prod_id=@item.prod_id" class="pro_t" style="width:100%;height:100%">
                        @item.prod_name
                    </a>
                    <i></i>
                </li>
            }

        </div>
        <div class="layui-text">
            <a href="/Home/productIndex" class="layui-btn layui-btn-radius layui-btn-normal more">
                点击更多
            </a>

        </div>
    </div>
    <div class="iabout layui-row">
        <div class="layui-text layui-container">
            <h1>公司简介</h1>
            <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“速升”拥有一支充满热忱的技术工程师和资深技术顾问团队。这是“速升”最强大的后盾力量。他们技术全面、经验丰富。保证产品在最有效及最经济的前提下发展，以迎合现今工业市场的严格要求,   浙江速升润滑油有限公司具有较强的研发能力和完备的质量管理体系，将以一流的产品质量和专业的技术服务，为广大客户提供更合理有效的润滑及保养方案</p>
            <a href="/Home/CompanyInfoIndex" class="layui-btn layui-btn-radius layui-btn-normal more">点击更多</a>

        </div>
    </div>
    <div class="layui-container inews">
        <div class="layui-text">
            <h1>新闻资讯</h1>
        </div>

        <div class="layui-row layui-col-space20">

            @foreach (var item in newslist)
            {
                <li class="layui-col-md4">
                    <i></i>
                    <a href="http://layui.t.yunucms.cn/index.php/index/show/index?id=241">@item.news_title</a>
                    <span class="p2">@item.createtime</span>
                    <p>@item.news_body</p>
                </li>
            }
        </div>
        <div class="layui-text"><a href="/Home/NewsIndex" class="layui-btn layui-btn-radius layui-btn-normal more">点击更多</a></div>

    </div>
    <div class="layui-container iflink">
        <div class="flink">
            <div class="flink_tit">
                <p></p>
                <span>友情链接</span>
            </div>
            <div class="flink_list">
                <a href="http://www.baidu.com">百度</a>
            </div>
        </div>
        @*<div class="flink mb50">
                <div class="flink_tit">
                    <p></p>
                    <span>城市分站</span>
                </div>
                <div class="flink_list">
                    <a href="http://beijing.layui.t.yunucms.cn">北京市</a>&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="http://layui.t.yunucms.cn/index.php?area=shanghai">上海市</a>&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="http://layui.t.yunucms.cn/index.php?area=tianjing">天津市</a>&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="http://layui.t.yunucms.cn/index.php?area=chongqing">重庆市</a>&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="http://layui.t.yunucms.cn/index.php?area=guangdong">广东省</a>&nbsp;&nbsp;&nbsp;&nbsp;
                    <a href="http://layui.t.yunucms.cn/index.php?area=fujian">福建省</a>&nbsp;&nbsp;&nbsp;&nbsp;
                </div>
            </div>*@
    </div>
    <div class="layui-row ifooter">
        <div class="layui-container">
            <hr>
            <div class="layui-col-md9">

                <div class="layui-text" style="text-align: center; ">
                    <p>浙江速升润滑油有限公司　地址：金华婺城区宾虹路与330国道交叉路口　电话：13173626715</p>
                </div>
                <div class="layui-text" style="text-align: center; ">
                    <p>浙ICP备18025092号</p>

                </div>
            </div>
            <div class="layui-col-md3">
                <div class="phone">
                    <img src="~/static/picture/erweima.png" /><span>全国咨询热线</span>
                    <strong>13173626715</strong>
                    <a href="javascript:;">在线客服</a>
                </div>
            </div>

        </div>
    </div>
    <style type="text/css">

        .pagination {
            margin-left: 60px;
        }
    </style>

    <script src="~/static/js/layui.js"></script>
    <script>
        layui.use(['layer', 'form'], function () {
            var layer = layui.layer
                , form = layui.form;
        });
        layui.use('element', function () {
            var element = layui.element;
        });
        layui.use('carousel', function () {
            var carousel = layui.carousel;
            //建造实例
            carousel.render({
                elem: '#test1'
                , width: '100%' //设置容器宽度
                , height: '600px'
                , arrow: 'default' //始终显示箭头
                , anim: 'default' //切换动画方式
                , autoplay: 'true'
                , interval: '5000'
            });
        });</script>
</body>
</html>